"""
@author RansySun
@create 2019-12-05-23:01
"""
# 应用id名称(沙盒id)
APP_ID = "2016101600696771"

# 签名算法  RSA or RSA2
SIGN_TYPES = "RSA2"

# 是否是沙箱环境
DEBUG = True

# 网关
if DEBUG:
    GATEWAY = 'https://openapi.alipaydev.com/gateway.do?'
else:
    GATEWAY = 'https://openapi.alipay.com/gateway.do?'

# 应用私钥
APP_PRIVATE_KEY_STRING = """-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEArzKkxFd0PNXXHjTxodqeED7ZWi0knMsZ+rniLMD+HV5/XzGBwKvT3/J3vO6al/xotzOvHHLTL13RSOm09v0ZJBosv7ooPd7zIX0uKiXXvpUx7A1Y3Kus567CXyYXk7kFqNDMehPUK5cWdOvtwWY5N5XlZ689ZXs25OTtcDhVU2kfZTKOuB7YnO8fLTRgTwB/froiCAA+DHmF96ZkdYq5F4ncFOiZ4UWm5LbMI21GQEshPrVk9eZzN9gV6+2lwaa2RjcpaxTRBRF+sRHNmpk7RfHvct4g+Zl9ICXa0NbNBqctXEXGnRfmx+dSNu09gS3e7qcBMKjksgkJ8hlreREAYwIDAQABAoIBAQCeKI7b/MMfZEBFsa/s2GnW6pXWtWgW77btRD9s/XCp3LQJoKys3bFwuvfjJFeFG0UBFfRgLzx8xyn2s5w9WDEJCWQaVRic+hbsxZAWVoFUOGWP3mC5HXYC1R39PWsNXXtBcfUVw67HBycruAyzie/fQT+OgYFgioH80rmSlBhbKc0dqWbcdm4OQNq44xu1+1PnhUHeeghnM3pCCIuVPomD8rHyVQielMWgWwvDM0c8a2EszUn+7HKVbPxLpaZ9oYvJd2HjNWzjTiZm5Egft6gaTjnGTBA1piKotvqwOyLsmGCRkCC7+BjU9Sy/11TIHpWpTXbTCzZB6jFNVSqa/F5ZAoGBAOGfPexV/4cp/ZkdwlE+AW825Rc1isy+rAYXE27DEA41oTkbpdD2vNTOR000xjm1EicD95DfHtzsoczBhrg0zti/Yx6W5dKEngq8hWA0Bgb/j5ekfyJv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